package com.ss.android.lockscreen.activity.lock;

import com.ss.android.lockscreen.d.a.c;
import com.ss.android.lockscreen.http.data.ScreenCell;
import com.ss.android.lockscreen.http.data.a;
import java.util.Collections;

final class s implements Runnable {
    private final r c;
    private final Boolean a;
    private final a b;

    s(r arg1, Boolean arg2, a arg3) {
        this.c = arg1;
        this.a = arg2;
        this.b = arg3;

    }

    public final void run() {
        if((this.a.booleanValue()) && this.b != null && this.b.b != null && this.b.b.size() > 0) {
            Collections.sort(this.b.b, new t());
            android.support.design.a.B.a.a("lock_last_stream_max_be_hot_time", ((ScreenCell)this.b.b.get(0)).d);
            android.support.design.a.B.a.a("lock_feed_last_refresh_time", System.currentTimeMillis());
            com.ss.android.lockscreen.d.a.c.a().b(this.c.a, new com.ss.android.lockscreen.activity.lock.a.a(), this.b.b);
        }

        Object v0 = this.c.b.a.get();
        if(v0 != null) {
            ((com.ss.android.lockscreen.activity.lock.n.a)v0).a(this.b);
        }
    }
}

